package com.ruoyi.admin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品管理对象 zhx_book
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class ZhxBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 书籍id */
    private Long bookId;

    /** 书籍名 */
    @Excel(name = "书籍名")
    private String bookName;

    /** 书籍描述 */
    @Excel(name = "书籍描述")
    private String bookDesc;

    /** 书籍类型 */
    @Excel(name = "书籍类型")
    private String bookType;

    /** 书籍封面 */
    @Excel(name = "书籍封面")
    private String bookCover;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long userId;

    /** 创建人用户名 */
    @Excel(name = "创建人用户名")
    private String userName;

    /** 创建人头像 */
    @Excel(name = "创建人头像")
    private String userAvatar;

    /** 接龙类型 */
    @Excel(name = "接龙类型")
    private String jielongType;

    /** 接龙层级数（默认0） */
    @Excel(name = "接龙层级数", readConverterExp = "默=认0")
    private Long jielongLevel;

    /** 接龙时间（小时）（默认24） */
    @Excel(name = "接龙时间", readConverterExp = "小=时")
    private Long jielongTime;

    /** 点赞数（默认0） */
    @Excel(name = "点赞数", readConverterExp = "默=认0")
    private Long likeNum;

    /** 评论数（默认0） */
    @Excel(name = "评论数", readConverterExp = "默=认0")
    private Long commentNum;

    /** 接龙数（默认0） */
    @Excel(name = "接龙数", readConverterExp = "默=认0")
    private Long jielongNum;

    /** 收藏数（默认0） */
    @Excel(name = "收藏数", readConverterExp = "默=认0")
    private Long collectNum;

    /** 订阅数（默认0） */
    @Excel(name = "订阅数", readConverterExp = "默=认0")
    private Long subscribeNum;

    /** 阅读数（默认0） */
    @Excel(name = "阅读数", readConverterExp = "默=认0")
    private Long readNum;

    /** 人气值（默认0） */
    @Excel(name = "人气值", readConverterExp = "默=认0")
    private Long popularity;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookDesc(String bookDesc) 
    {
        this.bookDesc = bookDesc;
    }

    public String getBookDesc() 
    {
        return bookDesc;
    }
    public void setBookType(String bookType) 
    {
        this.bookType = bookType;
    }

    public String getBookType() 
    {
        return bookType;
    }
    public void setBookCover(String bookCover) 
    {
        this.bookCover = bookCover;
    }

    public String getBookCover() 
    {
        return bookCover;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserAvatar(String userAvatar) 
    {
        this.userAvatar = userAvatar;
    }

    public String getUserAvatar() 
    {
        return userAvatar;
    }
    public void setJielongType(String jielongType) 
    {
        this.jielongType = jielongType;
    }

    public String getJielongType() 
    {
        return jielongType;
    }
    public void setJielongLevel(Long jielongLevel) 
    {
        this.jielongLevel = jielongLevel;
    }

    public Long getJielongLevel() 
    {
        return jielongLevel;
    }
    public void setJielongTime(Long jielongTime) 
    {
        this.jielongTime = jielongTime;
    }

    public Long getJielongTime() 
    {
        return jielongTime;
    }
    public void setLikeNum(Long likeNum) 
    {
        this.likeNum = likeNum;
    }

    public Long getLikeNum() 
    {
        return likeNum;
    }
    public void setCommentNum(Long commentNum) 
    {
        this.commentNum = commentNum;
    }

    public Long getCommentNum() 
    {
        return commentNum;
    }
    public void setJielongNum(Long jielongNum) 
    {
        this.jielongNum = jielongNum;
    }

    public Long getJielongNum() 
    {
        return jielongNum;
    }
    public void setCollectNum(Long collectNum) 
    {
        this.collectNum = collectNum;
    }

    public Long getCollectNum() 
    {
        return collectNum;
    }
    public void setSubscribeNum(Long subscribeNum) 
    {
        this.subscribeNum = subscribeNum;
    }

    public Long getSubscribeNum() 
    {
        return subscribeNum;
    }
    public void setReadNum(Long readNum) 
    {
        this.readNum = readNum;
    }

    public Long getReadNum() 
    {
        return readNum;
    }
    public void setPopularity(Long popularity) 
    {
        this.popularity = popularity;
    }

    public Long getPopularity() 
    {
        return popularity;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bookId", getBookId())
            .append("bookName", getBookName())
            .append("bookDesc", getBookDesc())
            .append("bookType", getBookType())
            .append("bookCover", getBookCover())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userAvatar", getUserAvatar())
            .append("jielongType", getJielongType())
            .append("jielongLevel", getJielongLevel())
            .append("jielongTime", getJielongTime())
            .append("likeNum", getLikeNum())
            .append("commentNum", getCommentNum())
            .append("jielongNum", getJielongNum())
            .append("collectNum", getCollectNum())
            .append("subscribeNum", getSubscribeNum())
            .append("readNum", getReadNum())
            .append("popularity", getPopularity())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
